<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%@ include file="/common/pre/header.jsp" %>
    <script src="${ctx}/statics/js/backend/backend.js"></script>
</head>
<body>
	<c:if test="${user == null}">
		<c:redirect url="login.jsp"></c:redirect>
	</c:if>
		
<!--End Header End-->
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
    <div class="m_content">
   
        <div class="m_right" id="content">
            <div class="mem_tit">
                
                        添加班级
            </div>
            <br>
            <form action="/1and5Demo/classroom/addClassroom" method="post" id="userAdd" onsubmit="return checkUser();">
                <table border="0" class="add_tab" style="width:930px;" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="135" align="right">班级名称</td>
                        <td colspan="3" style="font-family:'宋体';">
                            <input type="text" value="" class="add_ipt" name="className"placeholder="请输入班级名称" required/>
                           
                        </td>
                    </tr>
                   
                   
                        <tr>
                            <td width="135" align="right">所属机房</td>
                            <td>
                    
                            <select name="computerroomId" id="computerroomId">
								<option value="0" selected="selected">請选择</option>
									<c:forEach items="${computerroom}" var="desc">
										<option value="${desc.id }" >${desc.computerroomName }</option>
							
									</c:forEach>
							</select>
                            </td>
                        </tr>
                     <tr>
                        <td width="135" align="right">授课老师</td>
                         <td>
                             <select name="teacherId" id="teacherId">
								<option value="0" selected="selected">請选择</option>
									<c:forEach items="${teacher}" var="desc">
										<option value="${desc.id }" >${desc.teacherName }</option>
							
									</c:forEach>
							</select>
                        
                            </td>
                        
                    </tr>
                    
                    
                  <tr>
                        <td width="135" align="right">班主任</td>
                         <td>
                             <select name="banZhuRenId" id="banZhuRenId">
								<option value="0" selected="selected">請选择</option>
									<c:forEach items="${banZhuRen}" var="desc">
										<option value="${desc.id }" >${desc.banZhuRenName }</option>
							
									</c:forEach>
							</select>
                        
                            </td>
                        
                    </tr>
                        <td></td>
                        <td>      
                           <input type="submit" value="添加" class="s_btn">
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
 
</div>
</body>
</html>


